package com.mutual.assistance.user.model.vo;

import com.mutual.assistance.annotation.Gender;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author chenyuxin
 * @version 1.0
 * @description 用户信息查询过滤参数
 * @date 2023/4/25 17:28
 */
@Data
@ApiModel("查询用户过滤条件")
public class QueryUserParamsVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "用户性别（1：男、0：女）")
    @Gender
    private String sex;

    @ApiModelProperty(value = "用户积分")
    private Integer credit;

    @ApiModelProperty(value = "用户星级")
    private Integer star;

    @ApiModelProperty(value = "用户状态")
    private String status;
}
